<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="utf-8">
  <meta name="Author" content="Jenny.Zhan">
  <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport" id="viewport" />
  <meta name="format-detection" content="telephone=no" />
  <title>我的订单</title>
  <link rel="stylesheet" href="<{$ipath}>minisite/hotel/css/base.css">
  <link rel="stylesheet" href="<{$ipath}>minisite/hotel/css/layout.css">
</head>
<body>
<div id="main">
	<header id="header">
		<div class="back" onclick="location.href='?a=ucenter&amp;hid=1'"></div>
		<div class="title">我的订单</div>
	</header>
    <{section name=l loop=$list}>
	<ul class="order-list order-list2 uline">
		<li>
			<label>订单编号</label>
			<span class="ltxt"><{$list[l].order_sn}></span>
		</li>
		<li>
			<label>下单时间</label>
			<span class="ltxt"><{$list[l].add_time}></span>
		</li>
		<li>
			<label>房型套餐</label>
            <{foreach item=v from=$list[l].tinfo}>
			<span class="ltxt"><{$v.tname}> <{$v.pname}></span>
            <{/foreach}>
		</li>
		<li>
			<label>入住时间</label>
			<span class="ltxt cblue"><{$list[l].in_time}></span>
		</li>
		<li> 
			<label>离开时间</label>
			<span class="ltxt cblue"><{$list[l].out_time}></span>
		</li>
		<li> 
			<label>预订人姓名</label>
			<span class="ltxt"><{$list[l].create_name}></span>
		</li>
		<li>
			<label>预订人电话</label>
			<span class="ltxt"><{$list[l].create_phone}></span>
		</li>
        <li>
			<label>订单状态</label>
			<span class="ltxt"><{$list[l].statusname}></span>
			<a href="?a=myorder&orderid=<{$list[l].id}>&hid=<{$hinfo.id}>" class="btn-detail pa"><{if $list[l].status==4}>待支付<{else}>详情<{/if}></a>
		</li>
	</ul>
    <{/section}>
</div>
<script>
	window.onload = function() { 
	var ua = navigator.userAgent.toLowerCase();
	if(ua.match(/MicroMessenger/i) == "micromessenger"){
		 document.getElementById("header").style.display="none";
	}
	}; 
</script>
</body>
</html>